
// 样式使用

  
  //-------------------------
  * {
    box-sizing: border-box;
  }
  
  html,
  body {

    user-select: none; /* 防止文本被选中 */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
    
    font-family: 'AlibabaPuHuiTiR';
    font-size: 14px;
  
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f7fb;
  
    --el-color-white: #ffffff;
    --el-color-black: #000000;
    --el-color-primary: #2F49D0;
    --el-color-primary-light-3: #2565ffff;
    --el-color-primary-light-5: #9ba9ea;
    --el-color-primary-light-7: #c3cbf2;
    --el-color-primary-light-8: #d7dcf6;
    --el-color-primary-light-9: #ebeefb;
    --el-color-primary-dark-2: #2c42aa;
    --el-color-success: #5183fdff;
    --el-color-success-light-3: #2565ffff;
    --el-color-success-light-5: #9ba9ea;
    --el-color-success-light-7: #c3cbf2;
    --el-color-success-light-8: #d7dcf6;
    --el-color-success-light-9: #ebeefb;
    --el-color-success-dark-2: #2c42aa;
    --el-color-warning: #e2c636;
    --el-color-warning-light-3: #ebd772;
    --el-color-warning-light-5: #f1e39b;
    --el-color-warning-light-7: #f6eec3;
    --el-color-warning-light-8: #f9f4d7;
    --el-color-warning-light-9: #fcf9eb;
    --el-color-warning-dark-2: #b59e2b;
  
    --el-color-danger: #d22d3d;
    --el-color-danger-light-3: #e06c77;
    --el-color-danger-light-5: #e9969e;
    --el-color-danger-light-7: #f2c0c5;
    --el-color-danger-light-8: #f6d5d8;
    --el-color-danger-light-9: #fbeaec;
    --el-color-danger-dark-2: #a82431;
    --el-color-error: #d22d3d;
    --el-color-error-light-3: #e06c77;
    --el-color-error-light-5: #e9969e;
    --el-color-error-light-7: #f2c0c5;
    --el-color-error-light-8: #f6d5d8;
    --el-color-error-light-9: #fbeaec;
    --el-color-error-dark-2: #a82431;
    --el-color-info: #909399;
    --el-color-info-light-3: #b1b3b8;
    --el-color-info-light-5: #c8c9cc;
    --el-color-info-light-7: #dedfe0;
    --el-color-info-light-8: #e9e9eb;
    --el-color-info-light-9: #f4f4f5;
    --el-color-info-dark-2: #73767a;
    --el-bg-color: #ffffff;
    --el-bg-color-page: #f2f3f5;
    --el-bg-color-overlay: #ffffff;
    --el-text-color-primary: rgba(0, 0, 0, 0.64);
  
    --el-text-color-secondary: #909399;
    --el-text-color-placeholder: #a8abb2;
    --el-text-color-disabled: #c0c4cc;
    --el-border-color: #dcdfe6;
    --el-border-color-light: #e4e7ed;
    --el-border-color-lighter: #ebeef5;
    --el-border-color-extra-light: #f2f6fc;
    --el-button-hover-text-color: white;
    --el-border-color-dark: #d4d7de;
    --el-border-color-darker: #cdd0d6;
    --el-fill-color: #f0f2f5;
    // --el-fill-color-light: #cacfdeff;
    --el-fill-color-lighter: #fafafa;
    --el-fill-color-extra-light: #fafcff;
    --el-fill-color-dark: #ebedf0;
    --el-fill-color-darker: #e6e8eb;
    --el-fill-color-blank: #ffffff;
    --el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, 0.04),
      0px 8px 20px rgba(0, 0, 0, 0.08);
    --el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, 0.12);
    --el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, 0.12);
    --el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, 0.08),
      0px 12px 32px rgba(0, 0, 0, 0.12), 0px 8px 16px -8px rgba(0, 0, 0, 0.16);
    --el-disabled-bg-color: var(--el-fill-color-light);
    --el-disabled-text-color: var(--el-text-color-placeholder);
    --el-disabled-border-color: var(--el-border-color-light);
    --el-overlay-color: rgba(0, 0, 0, 0.8);
    --el-overlay-color-light: rgba(0, 0, 0, 0.7);
    --el-overlay-color-lighter: rgba(0, 0, 0, 0.5);
    --el-mask-color: rgba(255, 255, 255, 0.9);
    --el-mask-color-extra-light: rgba(255, 255, 255, 0.3);
    --el-border-width: 1px;
    --el-border-style: solid;
    --el-border-color-hover: var(--el-text-color-disabled);
    --el-border: var(--el-border-width) var(--el-border-style) var(--el-border-color);
    --el-svg-monochrome-grey: var(--el-border-color);
  
    .el-button,
    .el-input__inner {
      font-size: 13px;
    }
  }
  
  ul {
    list-style: none;
  }
  
  li {
    display: list-item;
    text-align: -webkit-match-parent;
  }
  
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #ececee;
  }
  
  /*定义滑块
  内阴影+圆角*/
  ::-webkit-scrollbar-thumb {
    border-radius: 6px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  blockquote,
  body,
  dd,
  dl,
  dt,
  fieldset,
  figure,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  hr,
  html,
  iframe,
  legend,
  // li,
  ol,
  p,
  pre,
  textarea,
  ul {
    margin: 0;
    padding: 0;
  }
  
  a {
    text-decoration: none !important;
  }
  
  .horzontal-layout {
    display: flex;
  }
  
  .horzontal-center-layout {
    display: flex;
    align-items: center;
  }
  
  .flex-1 {
    flex: 1;
  }
  
  .vertical-layout {
    display: flex;
    flex-direction: column;
  }
  
  .vertical-only-layout {
    display: flex;
    flex-direction: column;
  }
  
  .vertical-layout-center {
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .flex-center {
    justify-content: center;
    align-items: center;
  }
  
  .flex-horzontal-center {
    align-items: center;
  }
  
  .cursor {
    cursor: pointer;
  }
  
  #app {
    width: 100%;
    height: 100%;
  }
  
  .common-btn {
    cursor: pointer;
    display: inline-block;
  
    &:hover {
      color: #409eff !important;
    }
  }
  
  .custom-scrollbar {
  
    /**====== custom scrollbar css start ======**/
    &::-webkit-scrollbar-track {
      box-shadow: inset 0 0 6px #e6edef;
    }
  
    &::-webkit-scrollbar {
      width: 6px;
    }
  
    &::-webkit-scrollbar-thumb {
      /* background-color: rgba(68, 102, 242, 0.15); */
      background-color: rgba(36, 105, 92, 0.5);
      border-radius: 3px;
    }
  }
  .display-scrollbar{
    &::-webkit-scrollbar {
      display: none; /* Chrome Safari */
  }
  }
  .main-title {
    font-size: 26px;
    /* margin-bottom: 5px; */
    font-weight: 600;
    color: #000000c2;
    /* text-transform: capitalize; */
  }
  
  .resource-submit-popover {
    padding: 0 !important;
  }
  
  .popover-content {
    text-align: center;
    overflow: hidden;
    border-radius: 4px;
    li {
      width: 100%;
      height: 40px;
      cursor: pointer;
      font-size: 14px;
      color: rgba(0,0,0,0.64);
      line-height: 40px;
      // text-align: left;
      // padding-left: 16px;
      box-sizing: border-box;
  
      &:hover {
        background: #5183FD;
        color: #fff !important;
      }
    }
  }
  .hasMask-public,.hasMask-private{
    display: inline-block;
    width: 32px;
    height: 18px;
    line-height: 18px;
    background: #5183FD;
    border-radius: 2px;
    color: #fff;
    text-align: center;
  }
  .hasMask-private{
    background: #FF6A59;
  }
  .disabled-btn {
    background: #C8C8C8;
    color: #FFFFFF;
    border: 0;
  }
  
  .search1 :deep(.search-input) {
    border-radius: 25px !important;
  }
  
  .search1 :deep(.dq-search-input-active) {
    margin-right: 20px;
    box-shadow: 0px 0px 0px 0px rgba(70, 70, 70, 0.3) !important;
    border: 1px solid #D9D9D9;
    background: #fff !important;
    border-radius: 25px;
  
    input::-webkit-input-placeholder {
      color: #D9D9D9 !important;
    }
  
    input::-moz-input-placeholder {
      color: #D9D9D9 !important;
    }
  
    input::-ms-input-placeholder {
      color: #D9D9D9 !important;
    }
  }
  
  .big-img-container {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1000;
  
    .img {
      max-width: 600px;
      position: absolute;
      margin: auto;
      top: -9999px;
      right: -9999px;
      bottom: -9999px;
      left: -9999px;
    }
  }
  
  .ellipsis {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
    max-width: 100%;
  }
  
  .el-button--primary {
    --el-text-color-regular: white;
    --el-button-hover-text-color: white !important;
    --el-button-disabled-text-color: white !important;
  }
  
  .icon-btn {
    cursor: pointer;
  }
  
  .dq-primary-line-btn {
    cursor: pointer;
    // padding: 10px 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 96px;
    outline: none;
    height: 48px;
    border: 1px solid var(--el-color-primary);
    color: var(--el-color-primary);
    border-radius: 8px;
    background: white;
    font-size: 15px;
  
    &:hover {
      border: 1px solid var(--el-color-primary-light-3);
      color: var(--el-color-primary-light-3);
    }
  }
  
  .dq-primary-btn {
    cursor: pointer;
  
    padding: 10px 19px;
    min-width: 96px;
    outline: none;
    height: 48px;
    font-size: 15px;
    color: white;
    border: none;
    border-radius: 8px;
    background: var(--el-color-primary);
  
    &:hover {
      background: var(--el-color-primary-light-3);
    }
  }
  
  .dq-primary-text-btn {
    cursor: pointer;
    outline: none;
    padding: 0;
    font-size: 14px;
    color: var(--el-color-primary);
    border: none;
    background: none;
  
    &:hover {
      color: var(--el-color-primary-light-3);
    }
  }
  
  .dq-danger-btn {
    cursor: pointer;
  
    padding: 10px 19px;
    min-width: 96px;
    outline: none;
    height: 48px;
    font-size: 15px;
    color: white;
    border: none;
    border-radius: 8px;
    background: var(--el-color-danger);
  
    &:hover {
      background: var(--el-color-error-dark-2);
    }
  }
  
  .dq-danger-text-btn {
    cursor: pointer;
    outline: none;
    padding: 0;
    font-size: 14px;
    color: var(--el-color-danger);
    border: none;
    background: none;
  
    &:hover {
      color: var(--el-color-error-dark-2);
    }
  }
  
  .dq-danger-line-btn {
    cursor: pointer;
    // padding: 10px 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 96px;
    outline: none;
    height: 48px;
    border: 1px solid var(--el-color-danger);
    color: var(--el-color-danger);
    border-radius: 8px;
    background: white;
    font-size: 15px;
  
    &:hover {
      border: 1px solid var(--el-color-error-dark-2);
      color: var(--el-color-error-dark-2);
    }
  }
  
  
  .dq-detail-btn {
    cursor: pointer;
    padding: 10px 19px;
    min-width: 96px;
    width: 100%;
    outline: none;
    height: 48px;
    background: #5183fd;
    color: white;
    border: none;
  
    border-radius: 12px;
  
    font-size: 18px;
  
    &:hover {
      color: var(--el-color-primary);
      background: white;
    }
  }
  
  .el-dialog {
    box-shadow: 0px 2px 8px 0px rgba(46, 75, 146, 0.08) !important;
    border-radius: 12px !important;
  }
  
  .el-dialog__title {
    color: rgba(0, 0, 0, 0.76) !important;
  }

  
  .card {
    box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  }


  /* 上涨下跌颜色 */
  .up-color {
    color: #ff4a4a;
  }
  .down-color {
    color: #199319;
  }

  .no-border {
    border: none;
    th, td {
      border: none;
    }
  }
  .el-button {
    outline: none !important;
  }